package com.good.entity;

import javax.persistence.Entity;
import javax.persistence.OneToOne;

@Entity
public class One1 extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6852943406495768075L;
	@OneToOne(mappedBy="one1")
	private One2 one2;
	public One2 getOne2() {
		return one2;
	}
	public void setOne2(One2 one2) {
		this.one2 = one2;
	}

}
